package com.itheima.controller;

import com.itheima.entity.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiangTianQi
 * @describe
 * @date 2020/11/25 9:54
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/test1")
    public Result test1() {
        int i = 1 / 0;
        return null;
    }
}
